package com.hyj.shop.project.goods.domain;

import java.util.StringJoiner;

public class GoodsInfo {
    private int id;
    private String video;
    private String kinds;
    private String weight;
    private String width;
    private String height;
    private String colors;
    private String sizes;
    private int goodsId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getKinds() {
        return kinds;
    }

    public void setKinds(String kinds) {
        this.kinds = kinds;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getColors() {
        return colors;
    }

    public void setColors(String colors) {
        this.colors = colors;
    }

    public String getSizes() {
        return sizes;
    }

    public void setSizes(String sizes) {
        this.sizes = sizes;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", GoodsInfo.class.getSimpleName() + "[", "]")
                .add("id=" + id)
                .add("video='" + video + "'")
                .add("kinds='" + kinds + "'")
                .add("weight='" + weight + "'")
                .add("width='" + width + "'")
                .add("height='" + height + "'")
                .add("colors='" + colors + "'")
                .add("sizes='" + sizes + "'")
                .add("goodsId=" + goodsId)
                .toString();
    }
}
